package com.cpr.ams.mapper;

import com.cpr.ams.bean.BasePrivilege;
import com.cpr.ams.bean.BasePrivilegeExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface BasePrivilegeMapper {
    long countByExample(BasePrivilegeExample example);

    int deleteByExample(BasePrivilegeExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(BasePrivilege record);

    int insertSelective(BasePrivilege record);

    List<BasePrivilege> selectByExample(BasePrivilegeExample example);

    BasePrivilege selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") BasePrivilege record, @Param("example") BasePrivilegeExample example);

    int updateByExample(@Param("record") BasePrivilege record, @Param("example") BasePrivilegeExample example);

    int updateByPrimaryKeySelective(BasePrivilege record);

    int updateByPrimaryKey(BasePrivilege record);
}